<div class="container-fluid header">
	<div class="row">
		<div class="col-md-3  ">
			<a href="/" class="logo"></a>
		</div>

		<div class="col-md-5 col-md-offset-3">
			<% if(!username){%>
				<ul class="nav navbar-nav navbar-right">
					<li>
						<a href="/login">登录</a>
					</li> 
					<li>
						<a href="/register">注册</a>
					</li> 
					<li>
						<a href="#">开通会员</a>
					</li> 
					<li class="">
						<a href="#" class="glyphicon glyphicon-user">个人中心</a>
					</li>
					<li class="dropdown">
						<a href="#">播放记录</a>
						<ul class="dropdown-menu">
							<li><a href="#">三生三世十里桃花</a></li>
						</ul>
					</li> 	
					
				</ul>
			<%} else {%>
				<ul class="nav navbar-nav navbar-right">
					<li>
						<span>欢迎&nbsp;&nbsp;<%= req.session.username %>!</span>
					</li> 
					<li>
						<a href="#">退出</a>
					</li> 
					<li>
						<a href="#">开通会员</a>
					</li> 
					<li class="">
						<a href="#" class="glyphicon glyphicon-user">个人中心</a>
					</li>
					<li class="dropdown">
						<a href="#">播放记录</a>
						<ul class="dropdown-menu">
							<li><a href="#">三生三世十里桃花</a></li>
						</ul>
					</li> 	
					
				</ul>
			<%}%>
			
		</div>

		
	</div>
</div>